//
//  LGCiTangPhotoCollectionViewCell.m
//  ligenyun
//
//  Created by Mac on 2018/3/26.
//  Copyright © 2018年 stoneobs@icloud.com. All rights reserved.
//

#import "GCLocalPhotoCollectionViewCell.h"

@implementation GCLocalPhotoCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self configSubView];
        
    }
    return self;
}
#pragma mark --subView
- (void)configSubView{
    self.iconButton = [[STButton alloc] initWithFrame:CGRectMake(0, 0, photoItemWith, photoItemWith)
                                                     title:@""
                                                titleColor:nil
                                                 titleFont:0
                                              cornerRadius:0
                                           backgroundColor:nil
                                           backgroundImage:nil
                                                     image:nil];
    [self addSubview:self.iconButton];
    self.iconButton.imageView.contentMode = UIViewContentModeScaleAspectFill;
    [self.iconButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.and.left.and.bottom.and.right.equalTo(self);
    }];
}
@end
